// SGJ Apps Bible Input Method (BibleIM).  A collection
// of Java InputMethods enabling the easy typing of Biblical scripts.
// Copyright (C) 2007-2008 Steffen G. Jenkins  

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

// This file is based on the following source file.
/*
Brahmi Kannada Input Method
http://brahmi.sourceforge.net
Copyright (C) 2002  Harsha P Ravnikar <harsha_pr@users.sourcefourge.net>
This file is a part of Brahmi Kannada Input Method
 
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

package uk.org.sgj.BibleIM;

import java.awt.im.spi.InputMethod;
import java.util.Locale;

public class HebrewInputMethodDescriptorUS extends HebrewInputMethodDescriptor
{
    
    
    public HebrewInputMethodDescriptorUS()
    {
        super();
    }
    
    public synchronized String getInputMethodDisplayName(Locale locale, Locale locale1)
    {
        return "Hebrew Input Method (US keyboard layout)";
    }
    
    public Locale[] getAvailableLocales()
    {
        return (new Locale[] {HEBREWUS});
    }
    
    public InputMethod createInputMethod() throws Exception
    {
        InputMethodExec hebrewInputMethodExec =
                new InputMethodExec(KGPkeyboardMap, false);
        return new GeneralInputMethod(HEBREWUS,
                hebrewInputMethodExec);
    }
    
}
